package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.pojo.User;
import com.example.demo.vo.UserVo;


/**
 * @author HL
 */
public interface IUserService extends IService<User> {
    UserVo register(String name, String password, String email, Integer check);
    UserVo logonByEmail(String email, Integer check);
    UserVo logonByAccount(String account, String pwd);
    UserVo logonAuto(String text);
    void updateName(String account, String name);
    UserVo updateAvatar(String account, String avatar);
    void updatePwd(String account, String pwd);
    void deleteUserByAccount(String account);
    String sendEmail(String email);
}
